package com.sumainfor.pc.gmio;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient//启用服务注册与发现
@EnableFeignClients
@EnableHystrixDashboard
@ComponentScan(basePackages = {"com.sumainfor.pc.gmio", "com.sumainfor.common.config","cn.afterturn.easypoi.view"})
@MapperScan(basePackages = {"com.sumainfor.pc.gmio.dao"})
public class TangnestPcGmioApplication {

    public static void main(String[] args) {
        SpringApplication.run(TangnestPcGmioApplication.class, args);
        System.out.println("-----PC端运营部启动完成-----");
    }

}

